﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MKIB3Game
{
    public class Message
    {
        private int srcid;
        private String src;
        private String txt;

        public Message(int srcID, String src, String txt)
        {
            setSrcID(srcID);
            setSrc(src);
            setTxt(txt);
        }

        public void setTxt(string txt)
        {
            this.txt = txt;
        }

        public void setSrcID(int srcID)
        {
            this.srcid = srcID;
        }

        public void setSrc(string src)
        {
            this.src = src;
        }

        public int getSrcID()
        {
            return this.srcid;
        }
        public String getSrc()
        {
            return src;
        }
        public String getTxt()
        {
            return txt;
        }
    }
}
